package com.zqx.builder.controller;

import com.zqx.builder.builder.ActorBuilder;
import com.zqx.builder.productobject.Actor;

/**
 * description: 指挥者
 * @author zqx
 * @date 2018/09/02
 */
public class ActorController {

    public Actor construct(ActorBuilder actorBuilder)
    {
        actorBuilder.buildType();
        actorBuilder.buildSex();
        actorBuilder.buildFace();
        actorBuilder.buildCostume();
        actorBuilder.buildHairstyle();
        Actor actor = actorBuilder.createActor();
        return actor;
    }
}
